package ru.krArmor;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Rakev
 */
public class EnchantmenterFactoryStub extends AbstractEnchantmenterFactory {
    
    public String[] getGeneratedArmorEdid(){
        return new String[]{"ArmorBanditBoots_EnchArmorFortifyHeavyArmor01", "ArmorBanditBoots_EnchArmorFortifyIllusion01"
                , "ArmorBladesCuirass_EnchArmorFortifyLightArmor01", "ArmorBladesCuirass_EnchArmorFortifyLightArmor02", "ArmorBladesCuirass_EnchArmorFortifyIllusion01"};
    }
    
    protected String[] getBaseArmorEdidRegexs() {
        return new String[]{"ArmorBladesCuirass", "ArmorBanditBoots"};
    }
    
    protected String[] getImposedEnchantmentEdidRegexs() {
        return new String[]{"EnchArmorFortifyLightArmor0[1,2]", "EnchArmorFortifyHeavyArmor01","EnchArmorFortifyIllusion01"};
    }
    
    protected Map<String, String[]> createEnchantmentPermitRule() {        
        Map<String, String[]> permitRule = new HashMap<>();
        permitRule.put("EnchArmorFortifyLightArmor0[1,2]", new String[]{"ArmorCuirass", "ArmorBoots"});
        permitRule.put("EnchArmorFortifyHeavyArmor01", new String[]{"ArmorCuirass", "ArmorBoots"});
        permitRule.put("EnchArmorFortifyIllusion01", new String[]{"ArmorCuirass", "ArmorBoots"});
        return permitRule;
    }
    
    protected Map<String, String[]> createEnchantmentForbidenRule() {        
        Map<String, String[]> forbidenRule = new HashMap<>();
        //forbidenRule.put(ENCHANTMENT_EDID_REGEX, new String[]{KEYWORD_EDID1...});
        forbidenRule.put(".*LightArmor.*", new String[]{"ArmorHeavy"});
        forbidenRule.put(".*HeavyArmor.*", new String[]{"ArmorLight"});
        return forbidenRule;
    }
    
    protected Map<String, String> createEdidRegexToNameAppendixLink() {
        Map<String, String> edidRegexToNameAppendixLink = new HashMap<>();
        edidRegexToNameAppendixLink.put(".*EnchArmorFortifyLightArmor01.*", "фехтовальщика");
        edidRegexToNameAppendixLink.put(".*EnchArmorFortifyLightArmor02.*", "ниндзи");
        edidRegexToNameAppendixLink.put(".*HeavyArmor.*", "танка");
        edidRegexToNameAppendixLink.put(".*Illusion.*", "иллюзиониста");
        return edidRegexToNameAppendixLink;
    }
    
    protected String[] getEdidRegexToLevelingName() {
        String[] edidRegexToLevelingNames = {".*HeavyArmor.*", ".*Illusion.*"};
        return edidRegexToLevelingNames;
    }

}